home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 15083 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  691 b 

  1. Path: walrus1.walrus.com!warrenj
  2. From: warrenj@walrus.com (Warren Johnson)
  3. Newsgroups: comp.lang.c
  4. Subject: Memory deallocation and linked lists
  5. Date: 17 Apr 1996 01:33:40 GMT
  6. Organization: Intellitech Corporation
  7. Message-ID: <4l1hpk$hk5@alice.walrus.com>
  8. NNTP-Posting-Host: walrus1.walrus.com
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11. Greetings!
  12. Let us suppose I have a singularly linked list.  If i free up the first 
  13. node, will all of the rest of the nodes be freed up as well? Free 
  14. meaning, using the borland command free().  Do I have to free up each node
  15. seperately? Something I've never actually known >:). Thanks in advance.
  16.  
  17. --
  18. Warren D. Johnson
  19. CEO and Founder
  20. Runtime Computing, Inc.
  21.